package cn.ibizlab.odoo.core.odoo_base.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_base.domain.Base_partner_merge_line;
import cn.ibizlab.odoo.core.odoo_base.filter.Base_partner_merge_lineSearchContext;

/**
 * 实体[Base_partner_merge_line] 服务对象接口
 */

public interface IBase_partner_merge_lineService{
     Base_partner_merge_line get(Integer id) ;
     Base_partner_merge_line get(Base_partner_merge_line base_partner_merge_line) ;
     boolean update(Base_partner_merge_line base_partner_merge_line) ;
     boolean create(Base_partner_merge_line base_partner_merge_line) ;
     void updateBatch(List<Base_partner_merge_line> base_partner_merge_lines, int batchSize) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     void createBatch(List<Base_partner_merge_line> base_partner_merge_lines, int batchSize) ;
     boolean remove(Integer id) ;

    /**
     * 查询集合 默认查询
     */
    Page<Base_partner_merge_line> searchDefault(Base_partner_merge_lineSearchContext context) ;

    /**
     * 根据合并业务伙伴向导查询
     */
     Page<Base_partner_merge_line> selectByOdoo_wizard(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Base_partner_merge_line> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Base_partner_merge_line> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Base_partner_merge_line convert2Domain(cn.ibizlab.odoo.core.client.model.Ibase_partner_merge_line model ,Base_partner_merge_line domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Ibase_partner_merge_line convert2Model(Base_partner_merge_line domain , cn.ibizlab.odoo.core.client.model.Ibase_partner_merge_line model);

}
